  function humanToTime(year,month,day,hour,min)
  {
    var humDate = new Date(Date.UTC(year,
          (stripLeadingZeroes(month)-1),
          stripLeadingZeroes(day),
          stripLeadingZeroes(hour-8),
          stripLeadingZeroes(min)));
	  return humDate.getTime()/1000.0;
  }
 
  function stripLeadingZeroes(input)
  {
    if((input.length > 1) && (input.substr(0,1) == "0"))
      return input.substr(1);
    else
      return input;
  }
